import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import './style.css'
import App from './App.vue'

// 引入 Arco Design Vue 的样式
import '@arco-design/web-vue/dist/arco.css'

// 创建 Pinia 实例
const pinia = createPinia()
// 使用持久化插件
pinia.use(piniaPluginPersistedstate)

const app = createApp(App)
// 挂载 Pinia
app.use(pinia)
app.mount('#app')
